let cp = {
    0:"路飞",
    1:"女帝"
};
let str = "";
for(let i in cp) {
    str += i + ":" + cp[i] + "\n";
}
console.log(str);

function add(a,b) {
    if(a != undefined && b != undefined) {
        return a + b;
    }else {
        return 0;
    }

}

console.log(add(1),"输出结果为0");
console.log("成功了")

